home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / DEVELOPER / NETCONF0.ARC / !NetConfig_Resources_NLnetSlip < prev    next >
Encoding:
Text File  |  1995-07-02  |  498 b   |  22 lines

  1. message/capture=Welkom/centre/max=5
  2.  
  3. :waitloop
  4. set result {wait /del=100 login: word: (vt102) SL/IP}
  5. case %result
  6.   when 0; endcase; goto no_start
  7.   when 1; send slip:%nodename@nlnet
  8.   when 2; send %password
  9.   when 3; send vt102
  10.   when 4; endcase; goto endwaitloop
  11. endcase
  12. if (!?line/dcd) goto no_start
  13. goto waitloop
  14. :endwaitloop
  15.  
  16. if (!ipget/del=30 193) goto no_start
  17. set hostip %ipaddress
  18.  
  19. if (!ipget/del=30 193) goto no_start
  20. # Receive the rest of the Welcome Message
  21. wait /del=50 "beginning..."
  22.